<template>
  <div class="app-container">
    <navTemp title="我是element-ui" />
    <el-button type="primary" size="mini" @click="testFn">element-button</el-button>
  </div>
</template>

<script>
export default {
  components: {
    navTemp: () => import('./Nav.vue')
  },
  methods: {
    testFn () {
      alert(456)
    }
  }
}
</script>